package cn.hk.user.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * app用户家庭组表
 * </p>
 *
 * @author xu
 * @since 2023-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mms_app_user_family")
@ApiModel(value="UserFamily对象", description="app用户家庭组表")
public class UserFamily implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "数据主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "家庭组编码（家庭唯一标识）")
    private String groupCode;

    @ApiModelProperty(value = "app用户id")
    private Long appUserId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "是否有效")
    private String state;

    @ApiModelProperty(value = "是否对其他家庭成员可见(注册用户 0可见 1不可见)")
    private String isVisible;


}
